//
//  NetWorkEngin.h
//  BiYeDaBian
//
//  Created by TonyGenius on 16/1/14.
//  Copyright © 2016年 GSH. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetWorkEngin : NSObject

//post
+ (void)netWorking:(NSDictionary *)dictionary andURl:(NSString *)url andFinishBlock:(void(^)(NSDictionary *respondDic, NSError *error))block;

//get
+ (void)requestWith:(NSString *)accessToken andURL:(NSString *)url andFinishBlock:(void(^)(NSDictionary *respondDic, NSError *error))block;
//NEW
+ (void)postRequestWithParametes:(NSDictionary *)dictionary andURL:(NSString *)url andFinishBlock:(void(^)(NSDictionary *respondData,NSError *error))block;

+ (void)getRequestWithParametes:(NSString *)url andBody:(NSDictionary *)dictionary andFinishBlock:(void(^)(NSDictionary *respondData,NSError *error))block;

@end
